package com.letere.bean;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 配置 - 其他
 * @author letere
 * @create 2021-08-23 14:30
 */
@Component
@ConfigurationProperties(prefix = "other")
public class Other {
    private boolean isLombok;

    private boolean isAR;

    private boolean isRestController;

    private boolean isResultMap;

    private boolean isBaseColumn;

    public boolean isLombok() {
        return isLombok;
    }

    public void setIsLombok(boolean lombok) {
        isLombok = lombok;
    }

    public boolean isAR() {
        return isAR;
    }

    public void setIsAR(boolean AR) {
        isAR = AR;
    }

    public boolean isRestController() {
        return isRestController;
    }

    public void setIsRestController(boolean restController) {
        isRestController = restController;
    }

    public boolean isResultMap() {
        return isResultMap;
    }

    public void setIsResultMap(boolean resultMap) {
        isResultMap = resultMap;
    }

    public boolean isBaseColumn() {
        return isBaseColumn;
    }

    public void setIsBaseColumn(boolean baseColumn) {
        isBaseColumn = baseColumn;
    }
}
